/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.sys.util.tree;

import com.yunhoo.base.model.BaseModel;

public class TreeModel extends BaseModel {

    private String code;
    private String name;
    private Integer grade;
    private Integer isEnd;
    private String supCode;//上级节点代码
    private String supName;//上级节点名称

    public TreeModel() {
    }

    public TreeModel(boolean initWithLoginInfo) {
        super(initWithLoginInfo);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(Integer isEnd) {
        this.isEnd = isEnd;
    }

    public String getSupCode() {
        return supCode;
    }

    public void setSupCode(String supCode) {
        this.supCode = supCode;
    }

    public String getSupName() {
        return supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }
}
